let SQL = {
	user:{
		insert: 'INSERT INTO User(name,age,intro,pic,) VALUES(?,?,?,?)',
		queryAll: 'SELECT * FROM User',
		update:'UPDATE User SET name=?, age=?, intro=?, pic=?',
		delete: 'DELETE FROM User WHERE uid=?',
		queryById: 'SELECT * FROM User WHERE uid=?',
	},
	service:{
		insert: 'INSERT INTO service(name,age,intro,pic,) VALUES(?,?,?,?)',
		queryAll: 'SELECT * FROM service',
		update:'UPDATE service SET name=?, age=?, intro=?, pic=?',
		delete: 'DELETE FROM service WHERE sid=?',
		queryById: 'SELECT * FROM service WHERE sid=?',
	},
	chat:{
		insert: 'INSERT INTO chat(content_id,user_id,send_id,content,time,status,delete_time) VALUES(?,?,?,?,?,?)',
		queryAll: 'SELECT * FROM chat',
		delete: 'DELETE FROM chat WHERE id=?',
		queryById: 'SELECT * FROM chat WHERE user_id=?',
	}
};

module.exports = SQL;